//
//  ViewController.m
//  12-StoryBoardAndSizeClasses
//
//  Created by 李昊林 on 16/7/29.
//  Copyright © 2016年 李昊林. All rights reserved.
//

#import "ViewController.h"
#import "CustomTableViewCell.h"
#define kTableViewCellReuse @"reuse"
@interface ViewController ()<UITableViewDataSource,UITableViewDelegate>

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}


#pragma mark - tableViewDataSourse
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return 10;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    CustomTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"pool"];
    //cell.textLabel.text = @"123456";
    cell.titleLable.text = @"这是利利";
    cell.descriptionLable.text = @"10.27就一岁了";
    return cell;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
